package cn.xinfei.xdecision.common.service.common.xyf;


import cn.xinfei.xdecision.common.model.datax.consts.CommonConstant;

public class XyfReqData {

	private SfyReqHead head;
	private SfyReqBody body;
	
	public SfyReqHead getHead() {
		return head;
	}

	public void setHead(SfyReqHead head) {
		this.head = head;
	}

	public SfyReqBody getBody() {
		return body;
	}

	public void setBody(SfyReqBody body) {
		this.body = body;
	}

	public class SfyReqHead {
		
		private long timestamp;
		private String requester;
		private String user_id;
		private String seq_id;
		
		public SfyReqHead(){
			this.setRequester(CommonConstant.RCS_SYSTEM_NAME);
			this.setTimestamp(System.currentTimeMillis());
			this.user_id = "";
//			this.logId = HttpUtil.getSeqId();
		}
		public SfyReqHead(String userId){
			this.setRequester(CommonConstant.RCS_SYSTEM_NAME);
			this.setTimestamp(System.currentTimeMillis());
			this.user_id = userId;
//			this.logId = HttpUtil.getSeqId();
		}
		public SfyReqHead(boolean isSetSeqId){
			this.setRequester(CommonConstant.RCS_SYSTEM_NAME);
			this.setTimestamp(System.currentTimeMillis());
			this.user_id = "";
//			if (isSetSeqId) {
//				this.logId = HttpUtil.getSeqId();
//			}
		}
		public long getTimestamp() {
			return timestamp;
		}
		public void setTimestamp(long timestamp) {
			this.timestamp = timestamp;
		}
		public String getRequester() {
			return requester;
		}
		public void setRequester(String requester) {
			this.requester = requester;
		}
		public String getUser_id() {
			return user_id;
		}
		public void setUser_id(String user_id) {
			this.user_id = user_id;
		}

		public String getSeq_id() {
			return seq_id;
		}

		public void setSeq_id(String seq_id) {
			this.seq_id = seq_id;
		}
	}

	public class SfyReqBody {
		
	}
}
